package com.ruoyi.work.mapper;

import java.util.List;
import com.ruoyi.work.domain.WorkOrderDetail;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
 * 工单明细Mapper接口
 * 
 * @author xwj
 * @date 2024-08-13
 */
@Mapper
public interface WorkOrderDetailMapper extends BaseMapper<WorkOrderDetail> {
    /**
     * 查询工单明细
     * 
     * @param id 工单明细主键
     * @return 工单明细
     */
    public WorkOrderDetail selectWorkOrderDetailById(Long id);

    /**
     * 查询工单明细列表
     * 
     * @param workOrderDetail 工单明细
     * @return 工单明细集合
     */
    public List<WorkOrderDetail> selectWorkOrderDetailList(WorkOrderDetail workOrderDetail);


    /**
     * 删除工单明细
     * 
     * @param id 工单明细主键
     * @return 结果
     */
    public int deleteWorkOrderDetailById(Long id);

    /**
     * 批量删除工单明细
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkOrderDetailByIds(Long[] ids);
}
